package com.text.day3_1;

import java.util.Properties;

public class SystemDemo {
    public static void main(String[] args) {
        Properties properties = System.getProperties();

        Object o = properties.get("sun.desktop");    //能用这个对象类型接受
        System.out.println(o);
        properties.forEach((k,v) -> {
            System.out.println(k + "=" + v);
        });
    }
}
